package com.probox.common.entity.domain.product;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.probox.common.core.annotation.Excel;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 商品分组信息中间对象 product_info_group
 *
 * @date 2021-06-03
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("product_info_group")
public class ProductInfoGroup implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    //默认主键自增
    @TableId(value = "PRODUCT_GROUP_UID", type = IdType.AUTO)
    private Long productGroupUid;
    /**
     * 分组ID
     */
    @Excel(name = "分组ID")
    private Long groupUid;
    /**
     * 商品ID
     */
    @Excel(name = "商品ID")
    private Long productUid;
    /**
     * 状态(1有效/0无效)
     */
    @Excel(name = "状态(1有效/0无效)")
    private String dataStatus;

    /**
     * 类型
     */
    private String productType;

    private Long sort;

    /**
     * 是否推荐
     */
    private String isTuiJian;

}
